package com.hackintosh.strategy.eating;

/**
 * @description：
 * @author：twislyn
 * @date：Created in 2021/05/17
 * @modified By：
 * @version: 1.0
 */
public class Kitchen {
    /**
     * 抽象策略
     */
    private CrabCooking strategy;

    public CrabCooking getStrategy() {
        return strategy;
    }

    public void setStrategy(CrabCooking strategy) {
        this.strategy = strategy;
    }

    /**
     * 做菜
     */
    public void  cookingMethod(){
        this.strategy.cookingMethod();
    }

}
